package com.yexiao.cofe.business.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 订单项参数关联模型
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("order_item_param")
public class OrderItemParam {

    /**
     * 关联ID
     */
    @TableId(type = IdType.AUTO)
    public int id;

    /**
     * 订单项ID
     */
    @TableField("order_item_id")
    public long orderItemId;

    /**
     * 参数值ID
     */
    @TableField("param_value_id")
    public int paramValueId;

    /**
     * 参数值名字
     */
    @TableField("param_value_name")
    public String paramValueName;

    public static final String ID = "id";
    public static final String ORDER_ITEM_ID = "order_item_id";
    public static final String PARAM_VALUE_ID = "param_value_id";
}
